package top.huhuiyu.teachproject.service;

public interface RedisService {
  void save(String key, Object data);

  void save(String key, Object data, long timeout);

  <T> T get(String key, Class<T> clazz);

  void update(String key, Object data);

  Boolean hasKey(String key);
}
